package com.zhangh.summer.admin.support.boot.interfaces;

import com.zhangh.summer.admin.support.boot.common.AppConfigCondition;
import com.zhangh.summer.admin.support.boot.common.AppConfigEnum;
import org.springframework.context.annotation.Conditional;

import java.lang.annotation.*;

@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.TYPE, ElementType.METHOD})
@Documented
@Conditional(AppConfigCondition.class)
public @interface OnAppConfigConditional {
    AppConfigEnum value() default AppConfigEnum.NONE;
}
